@extends('layouts.ajax_master')
@section('app_js')
    <script type="text/javascript" src="/resource/js/J_main.js"></script>
    <script type="text/javascript">
        $('#teamTable').dataTable().fnDestroy();
        initDataTables();
    </script>
@stop
@section('content')
<table id="example" class="table table-striped responsive-utilities jambo_table">
    <thead>
    <tr class="headings">
        <th>
            <input type="checkbox" class="tableflat">
        </th>
        <th>名称</th>
        <th>链接</th>
        <th>介绍</th>
        <th>日期</th>
        <th class=" no-link last"><span class="nobr">操作</span>
        </th>
    </tr>
    </thead>
    <tbody>
    @foreach($info as $v)
        <tr class="even pointer img-box">
            <td class="a-center ">
                <input type="checkbox" class="tableflat">
            </td>
            <td class=" ">{{$v->partner_name}}</td>
            <td class=" ">{{$v->url}}</td>
            <td class=" ">{{$v->introduce}}</td>
            <td class=" ">{{date('Y-m-d H:i:s',$v->created)}}</td>
            <td class=" last">
                <a href="/news_edit?partner_id={{$v->partner_id}}">编辑</a>
                <a href="javascript:;"  class="delete" data-partner_id="{{$v->partner_id}}">删除</a>
            </td>
        </tr>
    @endforeach
    </tbody>

</table>
@stop